# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: xguo

from coin.exchange.okex.kr_rest.constants import active_base_currency_list

contract_type_list = (
    'this_week',
    'next_week',
    'quarter',
    'next_quarter',
)

symbol_list = [base.lower() + "_usd" for base in active_base_currency_list]

active_contract_list = [
    ('btc_usd', 'this_week'),
    ('btc_usd', 'next_week'),
    ('btc_usd', 'quarter'),
    ('eth_usd', 'this_week'),
    ('eth_usd', 'next_week'),
    ('eth_usd', 'quarter'),
    ('eos_usd', 'this_week'),
    ('eos_usd', 'next_week'),
    ('eos_usd', 'quarter'),
    ('etc_usd', 'this_week'),
    ('etc_usd', 'next_week'),
    ('etc_usd', 'quarter'),
    ('bch_usd', 'this_week'),
    ('bch_usd', 'next_week'),
    ('bch_usd', 'quarter'),
    ('xrp_usd', 'this_week'),
    ('xrp_usd', 'next_week'),
    ('xrp_usd', 'quarter'),
]

quarter_contract_date = [
    '20180330',
    '20180629',
    '20180928',
    '20181228',
    '20190329',
    '20190628',
    '20190927',
    '20191227',
    '20200327',
    '20200626',
    '20200925',
    '20201225',
    '20210326',
    '20210625',
    '20210924',
    '20211231',
]
